package com.u3k.app.android;

import android.content.ContentProvider;
import android.content.ContentValues;
import android.content.Context;
import android.content.pm.ProviderInfo;
import android.database.Cursor;
import android.net.Uri;
import android.os.ParcelFileDescriptor;
import com.u3k.sdk.d;

public class FileProvide
  extends ContentProvider
{
  private d a = null;
  
  public boolean onCreate()
  {
    if (this.a == null) {
      this.a = new d();
    }
    return true;
  }
  
  public void attachInfo(Context paramContext, ProviderInfo paramProviderInfo)
  {
    super.attachInfo(paramContext, paramProviderInfo);
    if (this.a == null) {
      this.a = new d();
    }
    this.a.a(paramContext, paramProviderInfo);
  }
  
  public Cursor query(Uri paramUri, String[] paramArrayOfString1, String paramString1, String[] paramArrayOfString2, String paramString2)
  {
    return this.a.a(paramUri, paramArrayOfString1, paramString1, paramArrayOfString2, paramString2);
  }
  
  public String getType(Uri paramUri)
  {
    return this.a.a(paramUri);
  }
  
  public Uri insert(Uri paramUri, ContentValues paramContentValues)
  {
    throw new UnsupportedOperationException("No external inserts");
  }
  
  public int update(Uri paramUri, ContentValues paramContentValues, String paramString, String[] paramArrayOfString)
  {
    throw new UnsupportedOperationException("No external updates");
  }
  
  public int delete(Uri paramUri, String paramString, String[] paramArrayOfString)
  {
    return this.a.a(paramUri, paramString, paramArrayOfString);
  }
  
  public ParcelFileDescriptor openFile(Uri paramUri, String paramString)
  {
    return this.a.a(paramUri, paramString);
  }
}


